// 流程引擎
import request from '@/utils/request'

export function runTask(data) {
  return request({
    url: '/wft/run',
    method: 'post',
    data,
    meta: {
      loading: true
    }
  })
}

// 保存流程表单
export function saveWf(data) {
  return request({
    url: '/wft/saveData',
    method: 'post',
    data,
    meta: {
      loading: true
    }
  })
}
